{% extends "main_layout.html" %}

{% block content %}
	<div class="container">        
        <div class="row">
      	    {% for book in books %}
      	        <div class="span4">
          		    <h2>{{ book.title }}</h2>
          		    <p>{{ book.description }}</p>
          		    <p><a class="btn" href="/books/id/{{ book.id }}">View details &raquo;</a></p>
                </div>
            {% endfor %}        
        </div>
    </div>    
{% endblock %}
